//Director.java
package builder.sample;

/**
 *@author:youtubezou
 *@version:2012-7-15
 */
public class Director {
	private Builder builder = null;
	
	public Director(Builder builder){
		this.builder = builder;
	}
	
	public void construct(String name, double price, int size){
		builder.buildPartOne(name);
		builder.buildPartTwo(price);
		builder.buildPartThree(size);
	}

}
